package com.house.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

/**
 * @author: GGP
 * @description: 留言DTO实体类
 * @time: 2023-04-17 20:11
 **/
@ApiModel(description = "留言参数实体类",value = "MessageDTO")
@NoArgsConstructor
@AllArgsConstructor
@Getter
@Setter
@ToString
public class MessageDTO {

	/** 留言信息 */
	@ApiModelProperty(value = "留言信息",name = "message",required = true)
	private String message;

	/** 用户id */
	@ApiModelProperty(value = "用户id",name = "userId",required = true)
	private Integer userId;

	/** 房源id */
	@ApiModelProperty(value = "房源id",name = "houseId",required = true)
	private Integer houseId;

	/** 页码 */
	@ApiModelProperty(name = "page",value = "页码",required = true,example = "1")
	private Integer page;

	/** 每页大小 */
	@ApiModelProperty(name = "size",value = "每页大小",required = true,example = "10")
	private Integer size;

}
